package top.ddandang.blog.enums;

import lombok.Getter;

/**
 * <p>
 * 日志状态的枚举类
 * </p>
 *
 * @author D
 * @version 1.0
 * @date 2020/7/7 9:57
 */
@Getter
public enum JournalState {

    /**
     * 增加
     */
    NORMAL(1, "发布"),

    /**
     * 删除
     */
    DELETE(2, "删除"),

    /**
     * 移动
     */
    MOVE(3, "移动");

    /**
     * 状态码
     */
    private final int state;

    /**
     * 状态描述
     */
    private final String value;

    JournalState(int state, String value) {
        this.state = state;
        this.value = value;
    }
}
